package com.example.hospital.db.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * @TableName mis_user
 */
@TableName(value = "mis_user")
@Data
public class MisUserEntity implements Serializable {
  @TableId(type = IdType.AUTO)
  private Integer id;
  
  private String username;
  
  private String password;
  
  private String name;
  
  private String sex;
  
  private String tel;
  
  private String email;
  
  private Integer deptId;
  
  private String job;
  
  private Integer refId;
  
  private String status;
  
  @TableField(value = "create_time", fill = FieldFill.INSERT)
  private String createTime;
  
  @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
  private String updateTime;
  
  private String remark;
  
  @TableLogic(value = "0", delval = "1")     // 0未删除，1删除
  @TableField(value = "del", fill = FieldFill.INSERT)
  private Integer del;
  
  private static final long serialVersionUID = 1L;
}